﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model
{
    //积分抽奖类
    public class Draw:Entity
    {
        public int Id { get; set; }

        /// <summary> 
        /// 抽奖活动名  
        /// </summary> 
        public string DrawName { get; set; }

        /// <summary> 
        /// 开始时间  
        /// </summary> 
        public DateTime StartTime { get; set; }

        /// <summary> 
        /// 结束时间  
        /// </summary> 
        public DateTime EndTime { get; set; }

        /// <summary> 
        /// 每人抽奖限制次数  默认0不限次
        /// </summary> 
        public int Chances { get; set; }

        /// <summary> 
        /// 消耗积分  
        /// </summary> 
        public int ConsumePoints { get; set; }

        /// <summary> 
        /// 活动内容描述  
        /// </summary> 
        public string Description { get; set; }

        /// <summary>
        /// 奖项说明
        /// </summary>
        public string AwardDes { get; set; }

        /// <summary> 
        /// 封面URL  
        /// </summary> 
        public string DrawCover { get; set; }
        /// <summary>
        /// 是否开启
        /// </summary>
        public bool IsDisplay { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

    }
}
